package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.CommentOfVideo;
import cn.wolfcode.trip.base.domain.Video;
import cn.wolfcode.trip.base.query.CommentQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IVideoService {
    void save(Video video);
    PageInfo query(QueryObject qo);

    Video selectById(Long id);

    void changeState(Video video);

    void saveComment(CommentOfVideo comment);

    PageInfo queryComment(CommentQueryObject qo);

    void addNum(Long id);
}
